//
//  YFConstFont.h
//  SJZ
//
//  Created by apple on 16/10/14.
//  Copyright © 2016年 智慧停车. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface YFConstFont : NSObject

#define kFont32px (iPhone4 ? [UIFont systemFontOfSize:16] : iPhone5 ? [UIFont systemFontOfSize:17] : iPhone6 ? [UIFont systemFontOfSize:18] : [UIFont systemFontOfSize:19])

#define kFont30px (iPhone4 ? [UIFont systemFontOfSize:15] : iPhone5 ? [UIFont systemFontOfSize:16] : iPhone6 ? [UIFont systemFontOfSize:17] : [UIFont systemFontOfSize:18])

#define kFont28px (iPhone4 ? [UIFont systemFontOfSize:14] : iPhone5 ? [UIFont systemFontOfSize:15] : iPhone6 ? [UIFont systemFontOfSize:16] : [UIFont systemFontOfSize:17])

#define kFont26px (iPhone4 ? [UIFont systemFontOfSize:13] : iPhone5 ? [UIFont systemFontOfSize:14] : iPhone6 ? [UIFont systemFontOfSize:15] : [UIFont systemFontOfSize:16])

#define kFont24px (iPhone4 ? [UIFont systemFontOfSize:12] : iPhone5 ? [UIFont systemFontOfSize:13] : iPhone6 ? [UIFont systemFontOfSize:14] : [UIFont systemFontOfSize:15])

#define kFont22px (iPhone4 ? [UIFont systemFontOfSize:11] : iPhone5 ? [UIFont systemFontOfSize:12] : iPhone6 ? [UIFont systemFontOfSize:13] : [UIFont systemFontOfSize:14])

#define kFont20px (iPhone4 ? [UIFont systemFontOfSize:10] : iPhone5 ? [UIFont systemFontOfSize:11] : iPhone6 ? [UIFont systemFontOfSize:12] : [UIFont systemFontOfSize:13])

#define kFont18px (iPhone4 ? [UIFont systemFontOfSize:11] : iPhone5 ? [UIFont systemFontOfSize:11] : iPhone6 ? [UIFont systemFontOfSize:11] : [UIFont systemFontOfSize:12])

// 适配屏幕宽高
CGFloat kWitdh(CGFloat witdh);
CGFloat kHeight(CGFloat height);



@end
